As a default, classes are privately derived
from each other.
The type of inheritance influences the
access rights to elements of the various superclasses.
Using public inheritance, everything which is declared
private in a
superclass remains private in the subclass. Similarly, everything which is public
remains public.